package me.firstapp.repository.weixin.weibi;

import java.util.List;

import me.firstapp.module.weixin.weibi.WeiBiAccount;
import me.firstapp.repository.base.EntityRepository;

public interface WeiBiAccountRepository extends EntityRepository<WeiBiAccount> {

	WeiBiAccount findWeiBiAccountByCardNoAndOpenId(String cardNo, String openId);

	List<WeiBiAccount> findWeiBiAccounts(int pageNo, int pageSize);

	List<WeiBiAccount> findWeiBiAccountsForRank(int limitCount);

	Integer findWeiBiAccountsCounts();
}
